<template>
  <input type="number">
  <el-button type="primary" @click="changeTimer">{{ msg }}</el-button>
</template>
  
<script setup >
import { ref } from 'vue';

import { useTimer } from './useTimer'
const { msg, changeTimer }  = useTimer(3)

</script>
  
<style></style>